package com.geekcoding.geekoj.dto;

import com.geekcoding.geekoj.entity.Test;
import com.geekcoding.geekoj.entity.TestAnswer;
import lombok.Builder;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@Builder
public class TestDetailDTO {
    private Test test;

    @Builder.Default
    private int score = 0;

    @Builder.Default
    private List<TestAnswer> successList = new ArrayList<>();

    @Builder.Default
    private List<TestAnswer> errorList = new ArrayList<>();
}
